<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My GitHub 2024 | Wait</title>
    <meta name="description" content="Statistics of your activities on GitHub in 2024.">
    <meta name="keywords" content="GitHub, statistics, 2024, activity, repositories, commits, issues, pull requests">
    <meta name="author" content="Ch3nyang">
    <link rel="stylesheet" href="/static/style/common.css">
    <link rel="icon" href="/static/img/logo.svg" type="image/svg+xml">
  </head>

  <body>
    <h1>My GitHub 2024</h1>
    <div class="button">
      <!-- <button onclick="window.open('https://github.com/WCY-dt/my-github-2024', '_blank')" type="button" id="star">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="20" height="20">
          <path
            d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z">
          </path>
        </svg>
        <span>Star on GitHub</span>
      </button> -->
      <button onclick="location.reload()" type="button" id="refresh">
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
          <path
            d="M1.705 8.005a.75.75 0 0 1 .834.656 5.5 5.5 0 0 0 9.592 2.97l-1.204-1.204a.25.25 0 0 1 .177-.427h3.646a.25.25 0 0 1 .25.25v3.646a.25.25 0 0 1-.427.177l-1.38-1.38A7.002 7.002 0 0 1 1.05 8.84a.75.75 0 0 1 .656-.834ZM8 2.5a5.487 5.487 0 0 0-4.131 1.869l1.204 1.204A.25.25 0 0 1 4.896 6H1.25A.25.25 0 0 1 1 5.75V2.104a.25.25 0 0 1 .427-.177l1.38 1.38A7.002 7.002 0 0 1 14.95 7.16a.75.75 0 0 1-1.49.178A5.5 5.5 0 0 0 8 2.5Z">
          </path>
        </svg>
        <span>Refresh</span>
      </button>
    </div>
    <div class="loading">
      <div class="loading-bar"></div>
    </div>
    <div class="loading-text">
      Processing data, please sit down and relax...
    </div>
  </body>
  <script>
    setInterval(function () {
      window.location.href = '/display/{{ year }}';
    }, 5000);
  </script>
</html>
